{include file="public/header" /}
<link rel="stylesheet" href="/static/admin/addons/builder/css/base.css" media="all">
<body>
<form action="{:url('preceptAllot')}" class="layui-form  v3-admin-form" id="form">
    <div class="layui-fluid layui-anim layui-anim-downbit">
        <div class="layui-card">
            <div class="layui-card-body" style="padding: 15px;">
                <div class="layui-row" style="padding-top: 8px">
                    <input type="hidden" name="id" value="{$info.id}"/>
                    <div class="layui-col-xs12 layui-col-sm12 layui-col-md12">
                        <label class="layui-form-label">专家/服务团队</label>
                        <div class="layui-input-block">
                           <input type="text" id="choose_search"  value="" autocomplete="off" placeholder="姓名、编号、手机号" class="layui-input">
                           <input type="hidden" id="choose_search_id" name="t_id" value="">
                        </div>
                        <div id="mTable_wrap_choose_search" class="layui-anim layui-anim-scale m-table" style="bottom: auto;">
                             <div class="search-triangle"></div>
                             <table class="layui-table" id="mTable_choose_search" lay-filter="mTable_choose_search"></table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    {include file="public/submit" /}
</form>
</body>
{include file="public/footer" /}
{include file="../addons/Builder/view/select_search_precept.html" /}
<script>
    $(function () {
        layui.use(['form', 'table', 'form'], function () {
            var a = $, t = layui.table, tid = 'mTable_choose_search',height = a(window).height(), limit = height < 1070 ? 15 : 20;
            t.render({
                elem: '#mTable_choose_search'
                , cols: [[
                        {field: 'id', title: 'ID'}
                        , {field: 'nickname', title: '昵称'}
                        , {field: 'code', title: '编号'}
                        , {field: 'mobile', title: '手机号'}
                        , {field: 'level_title', title: '身份'}
                ]]
                , page: true
                , url: "{:url('getTeamUserList')}"
                , id: tid
                , cellMinWidth: 80
                , autoSort: false
                , limit: limit
                , limits: [10, 15, 20, 30, 40, 60, 80, 100]
                , size: 'sm'
            });
        });
    })
</script>
</html>